<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import=" com.ysd.entity.User" %>
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<title>个人信息页面</title>
<style type="text/css">
.divlogin {
	margin: 120px auto 0 auto;
	min-height: 450px;
	max-width: 900px;
	padding: 40px;
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
	border-radius: 4px;
	box-sizing: border-box
}
</style>
<link rel="stylesheet" href="css/login.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script src="./lib/layui/layui.js" charset="utf-8"></script>
</head>

<body class="login-bg">
	<canvas id="fullstarbg">你的浏览器不支持canvas标签</canvas>
	<div class="divlogin">

		<div id="darkbannerwrap"></div>
		<form method="post" class="layui-form" onsubmit="return false;"
			id="testReload">
			<table cellpadding="0" cellspacing="0" border="0">
			<%
                        HttpSession s=request.getSession();
                        if(s.getAttribute("user")!=null){
                        	User u=(User)s.getAttribute("user");
                        %>
				<tr>
					<td style="width:70px;">头像：</td>
					<td><img src="<%=u.getImgUrl() %>"
						style="width: 80px; height: 80px;" class="layui-nav-img" /></td>
				</tr>
				<tr style="height: 30px;">
					<td>昵称：</td>
					<td><%=u.getUserName() %></td>
				</tr>
				<tr style="height: 30px;">
					<td>密码：</td>
					<td>******</td>
				</tr>
				<tr style="height: 50px;">
					<td>介绍：</td>
					<td><%=u.getUserInformation() %></td>
				</tr>
				<tr style="height: 30px;">
					<td>座右铭：</td>
					<td>只有登上山顶，才能看到那边的风光。</td>
				</tr>
				<tr style="height: 30px;">
					<td>地址：</td>
					<td><%=u.getUserAddress() %></td>
				</tr>
				<tr style="height: 30px;">
					<td>联系电话：</td>
					<td>17734880998</td>
				</tr>
				<tr style="height: 30px;">
					<td>QQ：</td>
					<td><%=u.getUserQq() %></td>
				</tr>
				<tr style="height: 30px;">
					<td>Email:</td>
					<td><%=u.getUserEmail() %></td>
				</tr>
				<%} %>
			</table>
		</form>
	</div>
	<script>
		
	</script>

	<!-- 底部结束 -->

</body>

</html>